<!--页头-->
<ion-header>
    <ion-navbar>
        <ion-title>
            扫描二维码
        </ion-title>
    </ion-navbar>
</ion-header>
<ion-content class="elevator-used-inspection">
    <ion-card>

        <ion-item class="scannerIcon">
            <ion-icon class="ionIcon" name="qr-scanner" (click)="scanner()"></ion-icon>
        </ion-item>

        <ion-card-content class="cardContent">
            *检查多部电梯时，请提交上一部电梯检查记录后，再扫描下一部电梯的二维码
        </ion-card-content>
    </ion-card>

    <ion-list>
        <ion-item *ngFor="let item of elevatorTotalResult let i = index " >
            电梯编号 {{item[0].deviceNum}}
            <button ion-button clear item-end (click)="modify(i)">
                <img src="assets/icon/home_enter.png">
            </button>
        </ion-item>
    </ion-list>

</ion-content>
<ion-footer>
    <button style="font-weight: bolder" ion-button block (click)="submit()">完成</button>
</ion-footer>